%skip
\begin{lstlisting}
sage: X = pt.frequency_distribution()
sage: Z = ct.frequency_distribution()
sage: Y = DiscreteRandomVariable(X,Z.function())
sage: for j in range(26):
...      K = S([ (j+k)%26 for k in range(26) ])
...      print "%s: %s" % (j, X.translation_correlation(Y,E(K)))
\end{lstlisting}
